package top.canyue.word_range_service.service;

import com.baomidou.mybatisplus.extension.service.IService;
import top.canyue.word_range.pojo.dto.PageDTO;
import top.canyue.word_range.pojo.po.WordMapping;
import top.canyue.word_range.pojo.query.WordQuery;
import top.canyue.word_range.pojo.vo.WordMappingVo;
import top.canyue.word_range.result.Result;

public interface WordMappingService extends IService<WordMapping> {
    PageDTO<WordMappingVo> getWordMappingPage(WordQuery wordQuery);

    PageDTO<WordMapping> getAllWordById(WordQuery query);

    Result<WordMappingVo> getRandomWordByDay();
}
